#ifndef MOUSECOMPWIDGET_H
#define MOUSECOMPWIDGET_H

#include <QWidget>
#include <QtGui>
#include "aed_mousecomp.h"
#include "mousecondmodel.h"
class MouseCompWidget : public QWidget
{
    Q_OBJECT
    AED_MouseComp *m_comp;
    MouseCondModel *m_model;
    QTableView *m_condtable;

    QGroupBox* group;
    QPushButton *add_cond_button;
    QPushButton *remove_cond_button;

public:
    explicit MouseCompWidget(AED_MouseComp *comp, QWidget *parent = 0);
    void setComp(AED_MouseComp *comp);
signals:

public slots:
    void ResizeColumns();
    void SetEnabled(bool enabled);
    void RemoveCondition();
};


#endif // MOUSECOMPWIDGET_H
